// RightWidgetWindow.h
#ifndef RIGHTWIDGETWINDOW_H
#define RIGHTWIDGETWINDOW_H

#include <QMainWindow>
#include "widgets/bottomWidgetContent/RightWidget.h"
#include "widgets/bottomWidgetContent/TableWidget.h"


class RightWidgetWindow : public QMainWindow {
    Q_OBJECT
public:
    explicit RightWidgetWindow(QWidget *parent = nullptr) : QMainWindow(parent) {
        QWidget *centralWidget = new QWidget(this);
        setCentralWidget(centralWidget);

        QVBoxLayout *layout = new QVBoxLayout(centralWidget);
        layout->setContentsMargins(0, 0, 0, 0);
        layout->setSpacing(0);

        setWindowTitle("RightWidgetWindow");
        resize(1200, 800);

        RightWidget *rightWidget = new TableWidget(this); // 确保传递正确的父对象

        layout->addWidget(rightWidget);
    }
};

#endif // RIGHTWIDGETWINDOW_H